package net.bo;

import net.ko.kobject.KObject;
import net.ko.persistence.annotation.Entity;
import net.ko.persistence.annotation.Table;


/**
* Classe KParametre
*/
@SuppressWarnings("serial")
@Entity
@Table(name="parametre")
public class KParametre extends KObject {
	private String nom;
	private String defaultValue;
	private String type;

	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public KParametre() {
		super();
		nom="";defaultValue="";type="Aucun";
	}
	/**
	 * return the value of nom
	 * @return nom
	 */
	public String getNom(){
		return this.nom;
	}
	/**
	 * return the value of defaultValue
	 * @return valeur
	 */
	public String getDefaultValue(){
		return this.defaultValue;
	}

	/**
	 * set the value of nom
	 * @param aNom
	 */
	public void setNom(String aNom){
		this.nom=aNom;
	}
	/**
	 * set the value of valeur
	 * @param aValeur
	 */
	public void setDefaultValue(String aDefaultValue){
		this.defaultValue=aDefaultValue;
	}

	@Override
	public String toString() {
		return nom+" {"+defaultValue+"}";
	}
}